package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author dxt
 * @create 2025-07-16-19:07
 */
public interface DamageListGoodsDao {

    /**
     * 保存报损单商品
     * @param damageList
     * @param damageListGoods
     */
    void save(@Param("damageList") DamageList damageList, @Param("damageListGoods") DamageListGoods damageListGoods);

    /**
     * 查询报损单商品
     * @param damageListId
     * @return
     */
    List<DamageListGoods> selectGoodsList(@Param("damageListId") Integer damageListId);
}
